﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HorrorsOfArkham.Game_Application_Layer
{
    public class StringResourceStorage
    {
        #region Members

        public static readonly StringResourceStorage Instance = new StringResourceStorage();

        private Dictionary<string, string> stringDictionary;

        #endregion

        #region Initialization

        protected StringResourceStorage()
        { 
        }

        public void InitializeDictionaries()
        {
            stringDictionary = new Dictionary<string, string>();
        }

        #endregion

        #region Saving Data

        public bool SaveStringDictionary(Dictionary<string, string> dictionary)
        {
            if (dictionary != null)
            {
                stringDictionary = dictionary;
                return true;
            }
            else
            {
                return false;
            }
        }

        #endregion
    }
}
